Optimal. Leaf size=8 \[ \text {Li}_2\left (-\frac {a}{x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.50, number of steps used = 1, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {2447} \[ \text {PolyLog}\left (2,1-\frac {a+x}{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2447
Rubi steps
\begin {align*} \int \frac {\log \left (\frac {a+x}{x}\right )}{x} \, dx &=\text {Li}_2\left (1-\frac {a+x}{x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.00, size = 34, normalized size = 4.25 \[ -\text {Li}_2\left (-\frac {-a-x}{x}\right )-\log \left (-\frac {a}{x}\right ) \log \left (\frac {a+x}{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 11, normalized size = 1.38 \[ {\rm Li}_2\left (-\frac {a + x}{x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.27, size = 68, normalized size = 8.50 \[ -\frac {a^{3} {\left (\frac {1}{\frac {a + x}{x} - 1} - \log \left (\frac {{\left | a + x \right |}}{{\left | x \right |}}\right ) + \log \left ({\left | \frac {a + x}{x} - 1 \right |}\right )\right )} + \frac {a^{3} \log \left (\frac {a + x}{x}\right )}{{\left (\frac {a + x}{x} - 1\right )}^{2}}}{2 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 9, normalized size = 1.12 \[ \dilog \left (\frac {a}{x}+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.46, size = 59, normalized size = 7.38 \[ -{\left (\log \left (a + x\right ) - \log \relax (x)\right )} \log \relax (x) + \log \left (a + x\right ) \log \relax (x) - \frac {1}{2} \, \log \relax (x)^{2} + \log \relax (x) \log \left (\frac {a + x}{x}\right ) - \log \relax (x) \log \left (\frac {x}{a} + 1\right ) - {\rm Li}_2\left (-\frac {x}{a}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.31, size = 8, normalized size = 1.00 \[ \mathrm {polylog}\left (2,-\frac {a}{x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log {\left (\frac {a}{x} + 1 \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________